﻿<!--
	@create by ligm on 2019-09-04
	@description 风险分类调整申请表（风险分类调整解除）
-->
<div>
    <el-form-q :field-data="queryFields" :buttons="queryButtons" ref="form"></el-form-q>
    <div class="yu-toolBar">
        <el-button-group>
            <el-button icon="plus" @click="addFn" v-if="checkPermission('create')">新增</el-button>
            <el-button icon="edit" @click="modifyFn" v-if="checkPermission('edit')">修改</el-button>
            <el-button icon="document" @click="infoFn" v-if="checkPermission('detail')">查看</el-button>
            <el-button icon="yx-bin" @click="deleteFn" v-if="checkPermission('delete')">删除</el-button>
            <el-button icon="yx-file-excel" @click="exportFn" v-if="checkPermission('export')">导出</el-button>
        </el-button-group>
    </div>
    <el-table-x ref="reftable" :row-index="true" :base-params="baseParams"
                :data-url="RscAdjustAppUrl" :table-columns="tableColumns" :request-type="'POST'"></el-table-x>

    <el-dialog-x title="" :visible.sync="dialogVisible" size="full">
        <el-tabs type="border-card" v-model="baseTab">
            <el-tab-pane label="风险分类调整解除" name="baseTab" >

                <el-collapse v-model="expandCollapseName" ref='basecollapse'>

                    <el-collapse-item title="借据选择" name="taskLoan" >
                        <el-form-q :field-data="rscAdjustAppFields" :row-index="true" :buttons="updateButtons" ref="queryFm"></el-form-q>
                        <el-table-x ref="rscAdjustAppTable" :base-params="baseParams2"  @row-dblclick="rowClickFn" :default-load="false"
                                    :data-url="RscTaskLoanUrl" :table-columns="rscAdjustAppTableColumns" :request-type="'POST'">
                        </el-table-x>
                    </el-collapse-item>

                    <el-collapse-item title="申请基本信息" name="applyInfo">
                        <el-form-x ref="applyInfoRef"
                                   :group-fields="updateFields" :buttons="opButtons"
                                   :disabled="formDisabled" label-width="80px">
                        </el-form-x>
                    </el-collapse-item>


                </el-collapse>

            </el-tab-pane>

        </el-tabs>
    </el-dialog-x>
</div>
